package com.kakavr.game.service;

import java.util.List;
import java.util.Map;

import com.kakavr.base.service.IBaseService;
import com.kakavr.page.Pagination;

public interface IGameBasicService extends IBaseService {

	/**
	 * 添加游戏
	 * 
	 * @param map
	 */
	void addGameBasic(Map<String, Object> map);

	/**
	 * 更新游戏
	 * 
	 * @param map
	 */
	void updateGameBasic(Map<String, Object> map);

	/**
	 * 分页查询游戏
	 * 
	 * @param map
	 * @return
	 */
	Pagination<Map<String, Object>> selectGameBasicByPage(
			Map<String, Object> map);

	/**
	 * 取最新几款游戏
	 * 
	 * @param map
	 * @return
	 */
	List<Map<String, Object>> selectNewGameList(Map<String, Object> map);

	/**
	 * 取游戏详情
	 * 
	 * @param map
	 * @return
	 */
	Map<String, Object> selectGameInfo(Map<String, Object> map);

}
